Skip to content

chore!: Rename GitHub subject inputs#110

Merged
unfunco merged 1 commit intomainfrom
chore/rename-github-subject-inputs
Apr 15, 2026
Merged

chore!: Rename GitHub subject inputs#110
unfunco merged 1 commit intomainfrom
chore/rename-github-subject-inputs

Conversation

@unfunco
Copy link
Copy Markdown
Owner

@unfunco unfunco commented Apr 15, 2026

Summary

  • rename github_repositories to github_subjects
  • rename default_branch_name to default_subject
  • document and test explicit pull_request subjects and keep assume_role_policy available when reusing an existing provider

Breaking changes

  • module consumers must update github_repositories to github_subjects
  • module consumers must update default_branch_name to default_subject
  • default_subject now accepts a full subject pattern such as ref:refs/heads/main or pull_request

The module now exposes github_subjects and default_subject instead of github_repositories and default_branch_name so the public API matches the way GitHub OIDC subjects actually work. This also documents the safer pull_request path, updates the examples and tests, and keeps assume_role_policy available when reusing an existing OIDC provider.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added the chore 🧹 Nothing major. label Apr 15, 2026
@unfunco unfunco merged commit bd6f267 into main Apr 15, 2026
4 checks passed
@unfunco unfunco deleted the chore/rename-github-subject-inputs branch April 15, 2026 07:08
@github-actions github-actions Bot mentioned this pull request Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore 🧹 Nothing major.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant